namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_LMS_QUERY")]
    public partial class V_LMS_QUERY_RC
    {
        [Key]
        [Column(Order = 0)]
        public string BATCH_CODE { get; set; }
        public string MAKE_CODE { get; set; }
        [Key]
        [Column(Order = 1)]
        public string TEST_CODE { get; set; }
        public int MAKE_TYPE { get; set; }        
        public string MINE_NAME { get; set; }
        public string MINE_ID { get; set; }
        public string MATERIEL_NAME { get; set; }
        public string MATERIEL_ID { get; set; }
        public string MATERIEL_TYPE_NAME { get; set; }        
        public string SUPPLIER_NAME { get; set; }        
        public string TRANSPORT_NAME { get; set; }        
        public DateTime? MATCH_TIME { get; set; }
        public byte? APPROVAL_STATUS { get; set; }
    }
}
